package com.deer.wms.base.system.service.bill.impl;

import com.deer.wms.base.system.dao.bill.BillInExceptionRecordMapper;
import com.deer.wms.base.system.model.bill.*;
import com.deer.wms.base.system.service.bill.BillInExceptionRecordService;
import com.deer.wms.base.system.service.bill.IBillInMasterService;
import com.deer.wms.common.core.service.AbstractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 李帅辰
 * @date 2021/7/23 15:26
 */
@Service
public class BillInExceptionRecordServiceImpl  extends AbstractService<BillInExceptionRecord, Integer> implements BillInExceptionRecordService {

    @Autowired
    private BillInExceptionRecordMapper billInExceptionRecordMapper;

    @Override
    public List<BillInExceptionRecordDto> findBillInExceptionRecordDtoList(BillInExceptionRecordCriteria billInExceptionRecordCriteria) {
        return billInExceptionRecordMapper.findBillInExceptionRecordDtoList(billInExceptionRecordCriteria);
    }

    @Override
    public int saveBillInExceptionRecord(BillInExceptionRecord billInExceptionRecord) {
        return billInExceptionRecordMapper.saveBillInExceptionRecord(billInExceptionRecord);
    }

    @Override
    public List<BillOutDetailStreamVo> findStreamList(BillOutDetailStreamVo billOutDetailStreamVo) {
        return billInExceptionRecordMapper.findStreamList(billOutDetailStreamVo);
    }

}
